package com.dubbo.snail.httpService;

import com.dubbo.snail.httpService.factory.NacosProviderFeignFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Description TODO
 * @Author xueguoping
 * @Date 2021/5/10 16:15
 */
@FeignClient( name= "spring-cloud-nacos-sample",fallbackFactory = NacosProviderFeignFallbackFactory.class)
public interface NacosProviderFeign {

	@GetMapping("/getProvider")
	String getProvider();

	@GetMapping("/getProviderTimeOut")
	String getProviderTimeOut();
}
